<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>${message("admin.message.edit")}</title>
<meta name="author" content="EVOLUTION Team" />
<meta name="copyright" content="EVOLUTION" />
<link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.tools.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.validate.js"></script>
<script type="text/javascript" src="${base}/resources/admin/editor/kindeditor.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/common.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/input.js"></script>
<style type="text/css">
.roles label {
	width: 150px;
	display: block;
	float: left;
	padding-right: 6px;
}
</style>
<script type="text/javascript">
$().ready(function() {

	[@flash_message /]
	
});
</script>
</head>
<body>
	<div class="path">
		<a href="${base}/admin/common/index.jhtml">${message("admin.path.index")}</a> &raquo; ${message("admin.message.edit")}
	</div>
	<form id="inputForm" action="save.jhtml" method="post">
		<ul id="tab" class="tab">
			<li>
				<input type="button" value="${message("admin.message.tableOne")}" />
			</li>
		</ul>
		<table class="input tabContent" id="tableOne">
		    <tr>
		       <td colspan="8" class="styleTitle">
		          ${message("admin.message.tableThreeTitle")}
		       </td>
		    </tr>
		    <!-- The first row -->
			<tr>
			    <th>
			        ${message("admin.message.name")}:
			    </th>
			    <td>
			        ${name}
			    </td>
				<th>
				    ${message("admin.message.gender")}:
				</th>
				<td>
			        [#list genderGroup as masterConfig ]
			            [#if "${gender}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			            [/#if]
			        [/#list]
				</td>
				<th>
					${message("admin.message.cardId")}:
				</th>
				<td>
					${idCardNum}
				</td>
				<th>
				    ${message("admin.message.age")}:
				</th>
				<td>
				    ${age}
				</td>
			</tr>
			
			<!-- The second row -->
			<tr>
			    <th>
			       ${message("admin.message.criminalFrequent")}:
			    </th>
			    <td>
			           [#list commonBool as masterConfig ]
			             [#if "${robSteal.criminalFrequent}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			           [/#list]		    
			    </td>			
			    <th>
			        ${message("admin.message.criminalAreaChoice")}:
			    </th>
			    <td colspan="5">
			           [#list criminalAreaChoiceGroup as masterConfig ]
			             [#if "${robSteal.criminalAreaChoice}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			           [/#list]		       
			    </td>			    
			</tr>
			
			<!-- The third row -->
			<tr>
			    <th rowspan="4">
			        ${message("admin.message.criminalTotalTitle")}:
			    </th>
			</tr>
			<tr>
			     <th>
			         ${message("admin.message.robberySnatchCategory")}
			     </th>
			     <td colspan="6">
			           [#list robberySnatchCategoryGroup as masterConfig ]
			             [#if "${robSteal.robberySnatchCategory}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			           [/#list]		     
			     </td>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.theftCategory")}:
			    </th>
			    <td colspan="6">
			           [#list theftCategoryGroup as masterConfig ]
			             [#if "${robSteal.theftCategory}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			           [/#list]
			    </td>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.sharpCategory")}:
			    </th>
			    <td colspan="6">
			           [#list sharpCategoryGroup as masterConfig ]
			             [#if "${robSteal.sharpCategory}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			           [/#list]
			    </td>
			</tr>		
			
			<!-- The 4 row -->
			<tr>
			    <th>
			        ${message("admin.message.criminalMainReason")}:
			    </th>
			    <td colspan="3">
			           [#list criminalMainReasonGroup as masterConfig ]
			             [#if "${robSteal.criminalMainReason}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			           [/#list]
			    </td>
			    <th>
			        ${message("admin.message.localCriminalReason")}:
			    </th>
			    <td colspan="3">
			        [#list localCriminalReasonGroup as masterConfig ]
			             [#if "${robSteal.localCriminalReason}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			        [/#list]
			    </td>			    
			</tr>	
			
			<!-- The 5 row -->
			<tr>
			    <th rowspan="6">
			        ${message("admin.message.frequentedAccessHotelTitle")}:
			    </th>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.frequentedAccessHotelStay")}
			    </th>
			    <td colspan="6">
			        [#list commonBool as masterConfig ]
			           [#if "${robSteal.frequentedAccessHotelStay}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]			        
			    </td>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.frequentedAccessHotelName")}:
			    </th>
			    <td colspan="6">
			       ${robSteal.frequentedAccessHotelName}
			    </td>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.frequentedAccessHotelLevel")}
			    </th>
			    <td  colspan="6">
			        [#list frequentedAccessHotelLevelGroup as masterConfig ]
			           [#if "${robSteal.frequentedAccessHotelLevel}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			         [/#list]		    			        
			    </td>			    
			</tr>
			<tr>
			    <td  colspan="7" style="color:red; text-align:center;">
			        ${message("admin.message.hotelWarning")}
			    </td>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.hotelNoRegisterName")}:
			    </th>
			    <td colspan="2">
			        ${robSteal.hotelNoRegisterName}
			    </td>
			    <th>
			        ${message("admin.message.hotelNoRegisterAddress")}:
			    </th>
			    <td colspan="3">
			        ${robSteal.hotelNoRegisterAddress}
			    </td>
			</tr>

						
			<!-- the 6 row --> 
			<tr>
			    <th>
			        ${message("admin.message.addressAfterCrimeCategory")}:
			    </th>
			    <td colspan="3">
			        [#list addressAfterCrimeCategoryGroup as masterConfig ]
			           [#if "${robSteal.addressAfterCrimeCategory}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]	
			    </td>			
			    <th>
			        ${message("admin.message.addressAfterCrimeArea")}:
			    </th>
			    <td colspan="3">
			        ${robSteal.addressAfterCrimeArea}
			    </td>
			</tr>
			
			<!-- 7 row -->
			<tr>
			    <th rowspan="4">
			         ${message("admin.message.favoriteAmusementTitle")}:
			    </th>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.favoriteAmusementOption")}:
			    </th>
			    <td colspan="6">
			        [#list favoriteAmusementOptionGroup as masterConfig ]
			           [#if "${robSteal.favoriteAmusementOption}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]		        
			    </td>			   
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.favoriteAmusementArea")}:
			    </th>
			    <td colspan="6">
			      ${robSteal.favoriteAmusementArea}			        
			    </td>			    
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.favoriteAmusementAddress")}:
			    </th>
			    <td colspan="6">
			       ${robSteal.favoriteAmusementAddress}
			    </td>
			</tr>

			
			
			
			<!-- 8 row -->
			<tr>
			    <th rowspan="11">
			        ${message("admin.message.gamblingWhoringDrugCategory")}:
			    </th>
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.gambWhorDrug")}:
			    </th>
			    <td colspan="6">
			       [#list commonHave as masterConfig ]
			           [#if "${robSteal.gamblingWhoringDrugCategory}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			       [/#list]		       
			    </td>
			</tr>
			<tr>
			    <th rowspan="3">
			        ${message("admin.message.gamblingExp")}:
			    </th>
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.gamblingArea")}:
			    </th>
			    <td colspan="5">
			        ${robSteal.gamblingArea}
			    </td>
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.gamblingAddress")}:
			    </th>
			    <td colspan="5">
			        ${robSteal.gamblingAddress}
			    </td>			
			</tr>
			
			<tr>
			    <th rowspan="3">
			        ${message("admin.message.drugExp")}:
			    </th>			    			   
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.drugArea")}:
			    </th>			
			    <td colspan="5">
			        ${robSteal.drugArea}
			    </td>			   
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.drugAddress")}:
			    </th>
			    <td colspan="5">
			        ${robSteal.drugAddress}
			    </td>			
			</tr>
	
			<tr>
			    <th rowspan="3">
			        ${message("admin.message.whoringExp")}
			    </th>
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.whoringArea")}:
			    </th>
			    <td colspan="5">
			        ${robSteal.whoringArea}
			    </td>			    
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.whoringAddress")}:
			    </th>
			    <td colspan="5">
			        ${robSteal.whoringAddress}
			    </td>			
			</tr>
			
			
			
			<!-- 9 row -->
			<tr>
			    <th>
			        ${message("admin.message.fakeIdCardDetail")}
			    </th>
			    <td colspan="3">
			       [#list commonBool as masterConfig ]
			           [#if "${robSteal.fakeIdCardDetail}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			       [/#list]	        
			    </td>
			    <th>
			        ${message("admin.message.fraudulentCardDetail")}
			    </th>
			    <td colspan="3">
			       [#list commonBool as masterConfig ]
			           [#if "${robSteal.fraudulentCardDetail}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]       
			    </td>			    
			</tr>
			
			<!-- 10 row -->
			<tr>
			    <th>
			        ${message("admin.message.internetOption")}
			    </th>
			    <td colspan="7">
			       [#list commonBool as masterConfig ]
			           [#if "${robSteal.internetOption}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]		        
			    </td>
			</tr>
			
			<!-- 11 row -->
			<tr>
			   <th rowspan="4">
			       ${message("admin.message.frequentedRestaurantOption")}
			   </th>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.frequentedRestaurantArea")}
			    </th>
			    <td colspan="6">
			        ${robSteal.frequentedRestaurantArea}
			    </td>			    
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.frequentedRestaurantAddress")}
			    </th>
			    <td colspan="6">
			        ${robSteal.frequentedRestaurantAddress}
			    </td>			
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.frequentedRestaurantName")}
			    </th>
			    <td colspan="6">
			        ${robSteal.frequentedRestaurantName}
			    </td>
			</tr>			
						
			<!-- 12 row -->
			<tr>
			    <th>
			        ${message("admin.message.driveNumberBool")}
			    </th>
			    <td colspan="3">
			       [#list commonHave as masterConfig ]
			           [#if "${robSteal.driveNumberBool}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]	        
			    </td>
			    <th>
			        ${message("admin.message.driveNumber")}:
			    </th>
			    <td colspan="3">
			       ${robSteal.driveNumber}
			    </td>
			  </tr>
			  <!--- 13-->
			  <tr>  
			    <th>
			        ${message("admin.message.transportationTools")}
			    </th>
			    <td colspan="3">
			        [#list transportationToolsGroup as masterConfig ]
			           [#if "${robSteal.transportationTools}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]	        
			    </td>
			    <th>
			        ${message("admin.message.transportationToolSource")}
			    </th>
			    <td colspan="3">
			        [#list transportationToolSourceGroup as masterConfig ]
			           [#if "${robSteal.transportationToolSource}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]	        
			    </td>			    
			</tr>	
			
			<!-- 14 row -->
			<tr>
			    <th rowspan="4">
			        ${message("admin.message.bootySellCondition")}
			    </th>			    
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.sellOrNot")}
			    </th>
			    <td colspan="6">
			       [#list commonBool as masterConfig ]
			           [#if "${robSteal.bootySellCondition}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]
			    </td>		
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.bootySellPosition")}
			    </th>
			    <td colspan="6">
			        [#list bootySellPositionGroup as masterConfig ]
			           [#if "${robSteal.bootySellAreaCategory}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]			        		        
			    </td>			
			</tr>
			<tr>
			    <th>
			       ${message("admin.message.bootySellCategory")}
			    </th>
			    <td colspan="6">
			       [#list bootySellCategoryGroup as masterConfig ]
			           [#if "${robSteal.bootySellOption}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			       [/#list]	        
			    </td>			
			</tr>
			
			<!-- 15 row -->
			<tr>
			    <th>
			        ${message("admin.message.illegalMoney")}:
			    </th>
			    <td colspan="7">
			        [#list illegalMoneyGroup as masterConfig ]
			           [#if "${robSteal.illegalMoney}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			           [/#if]
			        [/#list]
			    </td>
			</tr>
			
			<!-- 16 -->
			<tr>
			    <th rowspan="20">
			        ${message("admin.message.anotherGoveBussinessTitle")}:
			    </th>
			</tr>
			<tr>
			    <th rowspan="3">
			        ${message("admin.message.censusDepartTitle")}:
			    </th>
			</tr>
			<tr>
			    <td colspan="6">
			           [#list censusOptionGroup as masterConfig ]
			             [#if "${robSteal.censusOption}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]   
			           [/#list]
			    </td>			    
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.censusDepartmentName}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			        ${robSteal.censusDetails}
			    </td>
			</tr>
			
			<tr>
			    <th rowspan="2">
			        ${message("admin.message.temporaryOptionTitle")}:
			    </th>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.temporaryDepartmentName}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			        ${robSteal.temporaryDetails}
			    </td>
			</tr>
			
			<tr>
			    <th rowspan="3">
			        ${message("admin.message.trafficOptionTitle")}:
			    </th>
			</tr>
			<tr>
			    <td colspan="6">
			        [#list trafficOptionGroup as masterConfig ]
			             [#if "${robSteal.trafficOption}" == "${masterConfig.cd}" ]
			                ${masterConfig.decode}
			             [/#if]
			         [/#list]
			    </td>			    
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.trafficDepartmentName}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			        ${robSteal.trafficDetails}
			    </td>
			</tr>			
				
			<tr>
			    <th rowspan="2">
			        ${message("admin.message.fireFightingOptionTitle")}:
			    </th>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.fireFightingDepartmentName}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			       ${robSteal.fireFightingDetails}
			    </td>
			</tr>	
			
			<tr>
			    <th rowspan="3">
			        ${message("admin.message.reportOptionTitle")}:
			    </th>
			</tr>
			<tr>
			    <td colspan="6">
			       [#list reportOptionGroup as masterConfig ]
			          [#if "${robSteal.reportOption}" == "${masterConfig.cd}" ]
			             ${masterConfig.decode}
			          [/#if]
			       [/#list]
			    </td>			    
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.reportDepartmentName}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			        ${robSteal.reportDetails}
			    </td>
			</tr>
			
			<tr>
			    <th rowspan="4">
			        ${message("admin.message.thdOfficeOptionTitle")}:
			    </th>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			         ${robSteal.thdOfficeDepartment1}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			        ${robSteal.thdOfficeDepartmentDetail1}
			    </td>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.thdOfficeDepartment2}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			        ${robSteal.thdOfficeDepartmentDetail2}
			    </td>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.thdOfficeDepartment3}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			        ${robSteal.thdOfficeDepartmentDetail3}
			    </td>
			</tr>	
			
			<tr>
			    <th rowspan="2">
			        ${message("admin.message.anotherDepartmentTitle")}:
			    </th>
			</tr>
			<tr>
			    <th>
			        ${message("admin.message.commonDepartmentName")}: 
			    </th>
			    <td colspan="2">
			        ${robSteal.anotherDepartmentName}
			    </td>
			    <th>
			        ${message("admin.message.commonBussinessDetail")};
			    </th>
			    <td colspan="2">
			       ${robSteal.anotherOptionDetails}
			    </td>
			</tr>			
			
			<!-- 17 -->
			<tr>
			    <th>
			        ${message("admin.message.policerDepartment")}:
			    </th>
			    <td colspan="3">
			        ${robSteal.policerDepartment}
			    </td>
			    			
			    <th>
			        ${message("admin.message.policerName")}:
			    </th>
			     <td colspan="3">
			        ${robSteal.policerName}
			    </td>
			</tr>			
			
						
		</table>
		<table class="input">
			<tr>
				<td style="text-align:center;">
					<input type="button" class="button" value="${message("admin.common.back")}" onclick="location.href='${base}/admin/criminalbase/list.jhtml'" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>